package Code.ExtendDemo.Test2;

public class Test {
    public static void main(String[] args) {

        Husky husky = new Husky("哈士奇");
        husky.eat();
        husky.drink();
        husky.lookHome();
        husky.breakHome();

        SharPei sharPei = new SharPei("沙皮狗");
        sharPei.eat();
        sharPei.drink();
        sharPei.lookHome();


        ChineseDog chineseDog = new ChineseDog();
        chineseDog.setName("中华田园犬");
        chineseDog.eat();
        chineseDog.drink();
        chineseDog.lookHome();
    }
}
